package com.lagou.edu.annotation;

import java.lang.annotation.*;

/**
 * @version V1.0
 * @title: Autowired自定义注解
 * @package com.lagou.edu.annotation
 * @description:
 * @author: 陶肖寅
 * @date: 2020-01-13 17:49
 */
@Target({
        ElementType.CONSTRUCTOR,
        ElementType.METHOD,
        ElementType.PARAMETER,
        ElementType.FIELD,
        ElementType.ANNOTATION_TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Autowired {
    boolean required() default true;
}
